page {
  background: #f2f3f7;
}

.searchList {
  padding-top: 180rpx;
  padding-bottom: env(safe-area-inset-bottom);
}

.searchList .line-prods {
  margin-top: 15px;
}

/* 搜索栏 */
.searchList .search-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 750rpx;
  margin: auto;
  background: #fff;
  padding: 20rpx 30rpx;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  z-index: 99;
}

.searchList .search-top .search-box {
  flex: 1;
  margin-right: 30rpx;
  height: 60rpx;
  background: #f5f5f5;
  border-radius: 60rpx;
  display: flex;
  align-items: center;
}

.searchList .search-top .search-box .icon {
  width: 24rpx;
  height: 24rpx;
  font-size: 0;
  margin-left: 20rpx;
}

.searchList .search-top .search-box .input {
  margin: 0 16rpx 0 10rpx;
  flex: 1;
}

.searchList .search-top .search-box .text {
  color: #999;
  margin-left: 5px;
}

.searchList .search-top .search-box .key-tag {
  height: 42rpx;
  line-height: 42rpx;
  font-size: 22rpx;
  color: #fff;
  padding: 0 14rpx;
  border-radius: 21rpx;
  background: #000;
  opacity: 0.5;
  margin: 0 16rpx 0 10rpx;
}

.searchList .search-top .search-box .key-tag .close {
  font-size: 12rpx;
  margin-left: 10rpx;
  color: #fff;
}

.searchList .search-top .list-style {
  width: 32rpx;
  height: 32rpx;
  font-size: 0;
}

.searchList .search-top .search-cancel {
  color: #999;
}

/* 筛选栏 */
.searchList .sortbar {
  position: fixed;
  top: 96rpx;
  left: 0;
  right: 0;
  max-width: 750rpx;
  margin: auto;
  height: 80rpx;
  display: flex;
  align-items: center;
  background: #fff;
  padding-bottom: 20rpx;
  box-sizing: border-box;
  box-shadow: 0 4rpx 4rpx rgba(0, 0, 0, 0.01);
  z-index: 99;
  border-radius: 0 0 10rpx 10rpx;
}

.searchList .sortbar .item {
  flex: 1;
  text-align: center;
  height: 46rpx;
  line-height: 46rpx;
  font-size: 26rpx;
  position: relative;
}

.searchList .sortbar .item::before {
  position: absolute;
  bottom: -4rpx;
  left: 35%;
  right: 35%;
  display: block;
  width: auto;
  height: 4rpx;
  border-radius: 4rpx;
  content: " ";
  font-size: 0;
  background: #fff;
}

.searchList .sortbar .item.arrow-up::before,
.searchList .sortbar .item.arrow-down::before {
  left: 38%;
  right: 26%;
}

.searchList .sortbar .item.active {
  font-weight: 600;
}

.searchList .sortbar .item.active::before {
  background: linear-gradient(to right, #fc1b35, #fff);
}

.searchList .sortbar .item.arrow-up::after,
.searchList .sortbar .item.arrow-down::after {
  position: absolute;
  left: 50%;
  margin-left: 32rpx;
  transform: translateY(-50%);
  display: block;
  width: 0;
  height: 0;
  content: " ";
  font-size: 0;
  border: 8rpx solid transparent;
  border-radius: 4rpx;
}

.searchList .sortbar .item.arrow-up::after {
  top: 55%;
  border-top: 8rpx solid #999;
}

.searchList .sortbar .item.arrow-down::after {
  top: 40%;
  border-bottom: 8rpx solid #999;
}

.searchList .sortbar .item.arrow-up.active::after {
  border-top: 8rpx solid #333;
}

.searchList .sortbar .item.arrow-down.active::after {
  border-bottom: 8rpx solid #333;
}

/* 商品头部店铺 */
.searchList .head-shop-info {
  padding: 20rpx;
  margin-bottom: -15px;
}
.searchList .head-shop-info .shop-info-box {
  background: #fff;
  border-radius: 10rpx;
  padding: 20rpx;
}

.searchList .head-shop-info .shop-info-box .con {
  display: flex;
  align-items: center;
}

.searchList .head-shop-info .shop-info-box .con .logo {
  width: 70rpx;
  height: 70rpx;
  font-size: 0;
  border-radius: 50%;
  overflow: hidden;
}

.searchList .head-shop-info .shop-info-box .con .text {
  flex: 1;
  margin-left: 20rpx;
}

.searchList .head-shop-info .shop-info-box .con .text .name {
  font-weight: 600;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.searchList .head-shop-info .shop-info-box .con .text .focus-box {
  display: flex;
  align-items: center;
  margin-top: 4rpx;
  font-size: 20rpx;
}

.searchList .head-shop-info .shop-info-box .con .text .focus-box .self {
  padding: 2rpx 6rpx;
  line-height: 20rpx;
  color: #fff;
  background: #fc1b35;
  border-radius: 4rpx;
  margin-right: 10rpx;
  font-size: 18rpx;
}

.searchList .head-shop-info .shop-info-box .con .text .focus-box .focus {
  color: #999;
}

.searchList .head-shop-info .shop-info-box .con .btn {
  font-size: 20rpx;
  padding: 6rpx 20rpx;
  border-radius: 40rpx;
  color: #fc1b35;
  border: 2rpx solid #fc1b35;
}

/* 优惠信息 */
.searchList .discount-msg {
  padding: 30rpx;
}

.searchList .discount-msg.pd {
  padding-bottom: 0;
}

/* 店铺列表 */
.searchList .shop-list {
  padding: 0 30rpx;
}

.searchList .shop-list .item {
  background: #fff;
  border-radius: 10rpx;
  margin-top: 30rpx;
  padding: 20rpx;
}

.searchList .shop-list .item .shop-info {
  display: flex;
  align-items: center;
  padding-bottom: 20rpx;
}

.searchList .shop-list .item .shop-info .logo {
  width: 70rpx;
  height: 70rpx;
  font-size: 0;
  border-radius: 50%;
  overflow: hidden;
}

.searchList .shop-list .item .shop-info .text {
  flex: 1;
  margin-left: 20rpx;
}

.searchList .shop-list .item .shop-info .text .name {
  font-weight: 600;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.searchList .shop-list .item .shop-info .text .focus-box {
  display: flex;
  align-items: center;
  margin-top: 4rpx;
  font-size: 20rpx;
}

.searchList .shop-list .item .shop-info .text .focus-box .self {
  padding: 2rpx 6rpx;
  line-height: 20rpx;
  color: #fff;
  background: #fc1b35;
  border-radius: 4rpx;
  margin-right: 10rpx;
  font-size: 18rpx;
}

.searchList .shop-list .item .shop-info .text .focus-box .focus {
  color: #999;
}

.searchList .shop-list .item .shop-info .btn {
  font-size: 20rpx;
  padding: 6rpx 20rpx;
  border-radius: 40rpx;
  color: #fc1b35;
  border: 2rpx solid #fc1b35;
}

.searchList .shop-list .item .shopProds {
  display: flex;
  justify-content: space-between;
}

.searchList .shop-list .item .shopProds .p-item {
  flex: 1;
}

.searchList .shop-list .item .shopProds .p-item .img {
  width: 210rpx;
  height: 210rpx;
  font-size: 0;
  margin: auto;
  border-radius: 10rpx;
  overflow: hidden;
}

.searchList .shop-list .item .shopProds .p-item .price {
  margin-top: 10rpx;
  height: 32rpx;
  justify-content: center;
  color: #333;
}

.searchList .shop-list .item .shopProds .p-item .price .big {
  font-size: 24rpx;
}
